﻿
package com.ostrich.manpower.service;
/**
 * @brief    模块功能简单描述

 * @details  模块功能详细描述
 * @author wangyinan
 */
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.base.dao.BaseDao;
import com.ostrich.manpower.bean.TostHrBaseinfo;
import com.ostrich.manpower.bean.TostHrDepartinfo;

public interface  TostHrBaseinfoDao<T> extends BaseDao<T>{
    public List<T> queryByhrDepart(String  hrDepart);
    public List<T> queryBymonthbir();
    public T queryById(int id);
    public List<T> queryAll();
    public List<T> queryByHrid(Integer hrid) ;
    public T getBaseinfoByHrCode(String hrCode);
    public Integer isHaveperson(String hrIdcard);
    public List<T> queryAllById(int id);//如果传入id为0 就是查询全部。
    public List<TostHrBaseinfo> queryBaseinfo();
    
    public List<Map<String,Object>> getBaseinfoByPage(TostHrBaseinfo page);
    
    public List<T> queryIDcadeByName(String name);
    public int queryHridByname(String name);
    public String queryHrnameByid(int id);

}
